#!/bin/bash



if [ ! -d "./build" ]; then
    mkdir -p ./build
    echo "Created ./build directory"
else
    echo "./build directory already exists"
fi

cd ./build && rm -rf ./* && cmake .. && make
cd ../bin/
./test_demo
